<script setup lang="ts">
import CartList from './components/CartList.vue' //购物车列表
</script>
<template>
<section class="nav">
<div>
<RouterLink to="/">首页</RouterLink> &raquo; 我的购物车
</div>
</section>
<!--购物车列表-->
<CartList></CartList>
</template>
<style scoped>
.nav{
background-color:#F5F5F5;
}
.nav > div{
color:#666666;
width:1200px;
height:70px;
line-height:70px;
margin:0px auto;
}
.nav a{
color:#333333;
text-decoration: none;
}
.nav a:hover{
color:#4799F6;
} </style>